home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Shareware Plus / Development / SpriteWorld 2.2 Extra Demos / Platform Scrolling / Platform Scrolling.h < prev    next >
Encoding:
Text File  |  1998-05-25  |  881 b   |  44 lines  |  [TEXT/CWIE]

  1. ///--------------------------------------------------------------------------------------
  2. // Platform Scrolling.h
  3. //
  4. // By: Vern Jensen
  5. ///--------------------------------------------------------------------------------------
  6.  
  7.  
  8. #ifndef __WINDOWS__
  9. #include <Windows.h>
  10. #endif
  11.  
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16.  
  17.  
  18. void    main( void );
  19. void     CreateWindow( void );
  20. void    CreateSpriteWorld( void );
  21. void    CreateBallSprite( void );
  22. void    SetUpAnimation( void );
  23.  
  24. void    RunAnimation( void );
  25. void    ShutDown( void );
  26.  
  27. SW_FUNC void KeySpriteMoveProc(SpritePtr srcSpriteP);
  28. SW_FUNC void TileChangeProc(SpriteWorldPtr spriteWorldP);
  29. SW_FUNC void    SmoothScrollingWorldMoveProc(
  30.     SpriteWorldPtr spriteWorldP,
  31.     SpritePtr followSpriteP);
  32.  
  33. void    UpdateKeys( void );
  34. void    ResetKeys( void );
  35.  
  36. void    AdvanceLevel( void );
  37. void    KillSprite( void );
  38. void    ResetSprite( void );
  39.  
  40.  
  41. #ifdef __cplusplus
  42. }
  43. #endif
  44.